#ifndef MYLIB_DRIVER_UART_H
#define MYLIB_DRIVER_UART_H

#include <mylib/mylib_config.h>

enum{
    UART_1 = 0,
    UART_2,
    UART_3,
    UART_4,
    UART_5,
};

void uart_send(uint32_t uart, void* data, uint32_t len);

uint8_t uart_read_byte(uint32_t uart);

uint8_t uart_read(uint32_t uart, void* buf, uint32_t len);


#endif   // !MYLIB_DRIVER_USART_H
